import * as types from './mutation-types'

const mutations = {
    [types.SET_U](state, n) {
        state.user = n
    },
    [types.SET_AUTH](state, n) {
        state.Auth = n
    },
    [types.SET_CATEBAG](state, n) {
        state.Catebag = n
    },
    [types.SET_CATEBAGTYPE](state, n) {
        state.Catebagtype = n
    },
    [types.SET_COURSE](state, n) {
        state.Course = n
    },
    [types.SET_USERCOURSE](state, n) {
        state.userCourse = n
    },
    [types.SET_USERUSERCOURSE](state, n) {
        state.userUserCourse = n
    },
    [types.SET_AGENTUSER](state, n) {
        state.agentUser = n
    },
    [types.SET_AGENTINVITE](state, n) {
        state.agentInvite = n
    },
    [types.SET_MEDALS](state, n) {
        state.medals = n
    },
    [types.SET_IFRAME](state, n) {
        state.Iframe = n
    },
    ['muvideo'](state, n) {
        state.videodialogVisible = n
    }
}
export default mutations